package net.dgg.dggcloud.service.jrcrm.entity.pro;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Administrator on 2017/11/3.
 */
@Entity
@Table(name="pro_product_area_price")
public class ProductAreaPrice extends BaseEntity {
    /**
     * 区域
     */
    @Column(length = 20,nullable = true)
    private String area;

    /**
     * 产品ID
     */
    @Column(name="product_id",length = 20,nullable=true)
    private Long productId;

    /**
     * 手续费方式
     */
    @Column(name="charge_type",nullable = true)
    private String chargeType;

    /**
     * 标准价格
     */
    @Column(name="standard_price",nullable = true)
    private Float standardPrice;

    /**
     * 价格上限
     */
    @Column(name="price_max",nullable = true)
    private Float priceMax;

    /**
     * 价格下限
     */
    @Column(name="price_min",nullable = true)
    private Float priceMin;

    /**
     * 定金
     */
    @Column(name="downpayment",nullable = true)
    private Long downPayment;
    /**
     * 违约金
     */
    @Column(name="penalty",nullable = true)
    private Long penalty;

    /**
     * 渠道返点
     */
    @Column(name="channel_rebate",nullable = true)
    private Long channelRebate; //页面显示转浮点数

    /**
     * 内部成本
     */
    @Column(name="internal_cost")
    private Long internalCost;

    /**
     * 外部成本
     */
    @Column(name="outer_cost")
    private Long outerCost;

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getChargeType() {
        return chargeType;
    }

    public void setChargeType(String chargeType) {
        this.chargeType = chargeType;
    }

    public Float getStandardPrice() {
        return standardPrice;
    }

    public void setStandardPrice(Float standardPrice) {
        this.standardPrice = standardPrice;
    }

    public Float getPriceMax() {
        return priceMax;
    }

    public void setPriceMax(Float priceMax) {
        this.priceMax = priceMax;
    }

    public Float getPriceMin() {
        return priceMin;
    }

    public void setPriceMin(Float priceMin) {
        this.priceMin = priceMin;
    }

    public Long getDownPayment() {
        return downPayment;
    }

    public void setDownPayment(Long downPayment) {
        this.downPayment = downPayment;
    }

    public Long getPenalty() {
        return penalty;
    }

    public void setPenalty(Long penalty) {
        this.penalty = penalty;
    }

    public Long getChannelRebate() {
        return channelRebate;
    }

    public void setChannelRebate(Long channelRebate) {
        this.channelRebate = channelRebate;
    }

    public Long getInternalCost() {
        return internalCost;
    }

    public void setInternalCost(Long internalCost) {
        this.internalCost = internalCost;
    }

    public Long getOuterCost() {
        return outerCost;
    }

    public void setOuterCost(Long outerCost) {
        this.outerCost = outerCost;
    }
}
